const state = {
  isLogin: localStorage.getItem('isLogin') || '',
  token: localStorage.getItem('token') || '',
  test: ''
}

const mutations = {
  change_isLogin (state, payload) {
    state.isLogin = payload
  },
  change_token (state, payload) {
    state.token = payload
  },
  change_test (state, payload) {
    state.test = payload
  }
}

export default {
  namespaced: true,
  state,
  mutations
}
